@RunWith(SwitchYardRunner.class)
@SwitchYardTestCaseConfig(mixins = CDIMixIn.class, config = SwitchYardTestCaseConfig.SWITCHYARD_XML)
public class SomeServiceTest {
@ServiceOperation("ExampleService")
private Invoker service;
@Test
public void testSomeInOnlyOperation() throws Exception {
// TODO Auto-generated method stub
// initialize your test message
Object message = null;
service.operation("someInOnlyOperation").sendInOnly(message);
// validate the results
Assert.assertTrue("Implement me", false);
}
@Test
public void testSomeInOutOperation() throws Exception {
// TODO Auto-generated method stub
// initialize your test message
Object message = null;
String result = service.operation("someInOutOperation")
.sendInOut(message).getContent(String.class);
// validate the results
Assert.assertTrue("Implement me", false);
}
}